#ifndef __UART_COMM_H__
#define __UART_COMM_H__

#include <stdint.h>

#define UART_DATA_LEN		12

#define COMM_PowerUp									0x80
#define COMM_KeyControl								0x01
#define COMM_KeyControl_Answer				0x81

extern volatile uint8_t U_SendCommFlag;
extern volatile uint8_t answerCommType;
extern volatile uint8_t RX_Transid;

void uart_comm_Init(void);
void uart_comm_1ms(void);
void uart_comm_loop(void);

#endif // __UART_COMM_H__

// ************ end *************
